class Employee:
    count = 0

    def __init__(self):
        Employee.count += 1

    def print_count(self):
        print('第 {} 个对象。'.format(self.count))


p1 = Employee()
p1.print_count()
p2 = Employee()
p2.print_count()
p3 = Employee()
p3.print_count()
p1.print_count()
